import App from './App'


import {
	advertisingData
} from "./mixin/advertising";
Vue.mixin(advertisingData);




import dataNo from '@/components/common/data-no'
Vue.component('dataNo',dataNo)

import modal from '@/components/common/modal'
Vue.component('modal',modal)

import easyLoadimage from '@/components/easy-loadimage/easy-loadimage.vue'
Vue.component('easyLoadimage', easyLoadimage)




import store from "./store"
Vue.prototype.$store = store

// 引入API接口
import * as api from "@/common/lib/api.js"
Vue.prototype.$api = api

// 引入request库
import $H from '@/common/lib/request.js';
Vue.prototype.$H = $H


// 助手函数
import $U from './common/lib/util.js';
Vue.prototype.$U = $U

// 时间函数
import $T from './common/lib/time.js';
Vue.prototype.$T = $T



// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
